﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MVC_Project.Model;
using MVC_Project.Dal.Goods;

namespace MVC_Project.Bll.Goods
{
    public class GoodTypeBll : BaseBll<GoodType>
    {
        public override void SetDal()
        {
            Dal = new GoodTypeDal();
        }

        public List<GoodType> GetMobileGoods() {
            var goodtype = Dal.Query().ToList();
            return goodtype;
        }
    }
}
